package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author zengke
 * @ClassName NurseEntity
 * @Date 2023/3/30 15:07
 * @Version 1.0
 */

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@TableName("sys_nurse")
public class NurseEntity extends BaseEntity {

    //工号
    @ApiModelProperty("工号")
    private Integer employeeNumber;

    //姓名
    @ApiModelProperty("姓名")
    @TableField("`name`")
    private String name;

    //性别
    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("护士等级id")
    private String levelId;

    //联系方式
    @ApiModelProperty("联系方式")
    private String phoneNumber;

    //状态
    @ApiModelProperty("状态")
    private String status;

    //描述
    @ApiModelProperty("描述")
    private String description;

    //逻辑删除
    @ApiModelProperty("逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;

    @ApiModelProperty("人员类型  1 = 护士  2 = 麻醉")
    private Integer type;

    @ApiModelProperty("指导医生id")
    private String preceptorId;
}
